package org.example.domain.vo;

import lombok.Data;

import java.util.List;
import java.util.Objects;


@Data
public class InterviewRequest {
    public List<String> topics;
    public String answer;


    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        InterviewRequest that = (InterviewRequest) o;
        return Objects.equals(topics, that.topics) && Objects.equals(answer, that.answer);
    }

    @Override
    public int hashCode() {
        return Objects.hash(topics, answer);
    }

    @Override
    public String toString() {
        return "InterviewRequest{" +
                "topics=" + topics +
                ", answer='" + answer + '\'' +
                '}';
    }
}
